/* components/MyTabbar.wxss */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140rpx;
  background: #fff;
  display: flex;
  line-height: 1.2;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-top: 10rpx;
  // box-sizing: border-box;
  border-top: 1px solid #e6e6e6;
}
// class="active：{{selected === index}}" style="color: {{ ? selectedColor : color}}"
.tab-bar-item {
  flex: 1;
  text-align: center;
  display: flex;
  // justify-content: center;
  align-items: center;
  flex-direction: column;
}

.tab-bar-item .image {
  position: relative;
  width: 60rpx;
  height: 60rpx;
  .icon {
    font-size: 60rpx;
  }
  .corners {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    box-sizing: border-box;
    width: 28rpx;
    height: 28rpx;
    font-size: 14rpx;
    text-align: center;
    line-height: 26rpx;
    vertical-align: top;
    color: white;
    border: 2rpx solid white;
    border-radius: 50%;
  }
}
.bulge {
  background-color: #fff;
}
.bulge .tab-bar-bulge {
  // position: absolute;
  // display: flex;
  // justify-content: center;
  // align-items: center;
  // width: 64px;
  // height: 64px;
  // top: -24px;
  // border-radius: 50%;
  // border-top: 1px solid #e6e6e6;
  // background-color: #fff;
  .publish {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 94rpx;
    height: 94rpx;
    font-size: 90rpx;
  }
}
// .bulge .image {
//   position: absolute;
//   width: 50px;
//   height: 50px;
//   top: -16px;
// }
// .bulge .tab-bar-view {
//   position: relative;
//   bottom: -16px;
//   margin-top: 4px;
// }

.tab-bar-item .tab-bar-view {
  font-size: 26rpx;
  margin-top: 8rpx;
  color: #7d7c7c;
  &.active {
    background: linear-gradient(180deg, #ff685c 0%, #fa2a2a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
